// run: $exec < test.in
#include <cstdio>

//#define HUGE_INPUT

#ifndef HUGE_INPUT
template <class T>
void scan(T & a)
{
	a = 0;
	bool flag = false;
	char ch = std::getchar();
	if (ch == '-')
		flag = true;
	else if (ch >= '0' && ch <= '9')
		a = ch - '0';

	while ((ch = std::getchar()) >= '0' && ch <= '9')
		a = a * 10 + ch - '0';
	if (flag) a = -a;
}
#endif

void print(int a)
{
	if (a > 9) print(a / 10);
	std::putchar(a % 10 + '0');
}

#ifdef HUGE_INPUT
const int BZ = 30 << 20;
char Buf[BZ + 1], *buf = Buf;

template <class T>
inline void scan(T &a) // method2: for huge input
{
	bool flag = false;
	for (a = 0; *buf < '0' || *buf > '9'; ++buf)
		if (*buf == '-') flag = true;
	for (; *buf >= '0' && *buf <= '9'; buf++)
		a = a * 10 + (*buf - '0');
	if (flag) a = -a;
}
#endif

int main()
{
#ifdef HUGE_INPUT
	std::fread(Buf, 1, BZ, stdin); // method2
#endif

	int n;
	scan(n);
	print(n);
}

